<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.psl.model.userlogin" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    userlogin userinfo = (userlogin) session.getAttribute("user");
    if (userinfo == null) {
        response.sendRedirect("/login.do");
    }%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <%--<link href="/assets/css/text.css" rel="stylesheet" type="text/css">--%>
    <%--<link href="/assets/css/main.css" rel="stylesheet" type="text/css">--%>
    <link href="/assets/css/content.css" rel="stylesheet" type="text/css">
    <%--<script language="javascript" src="/assets/js/common.js"></script>--%>
    <%--<script language="javascript" src="/assets/js/general.js"></script>--%>
    <script language="JavaScript" type="text/JavaScript">
    </script>
    <style>
        #title {
            border: 0px;
        }

        #title td {
            height: 20px;
            line-height: 150%;
            font-size: 22px;
            font-weight: bold;
            color: #000000;
            letter-spacing: 2px;
        }

        #datalist {
            font-size: 20px;
        }
    </style>
    <style media="print">
        .nobtn {
            display: none;
        }
    </style>
</head>
<body>
<table cellspacing="0" cellpadding="0" id="title">
    <tbody>
    <tr align="left">
        <td colspan="14">山东宜利达流体设备有限公司外协加工件/闸板铁芯外协包胶</td>
    </tr>
    </tbody>
</table>
<table cellpadding="0" cellspacing="0">
    <tbody>
    <tr align="center">
        <td colspan="14" class="subtitle"><input type="button" value="打印" class="button nobtn"
                                                 onclick="window.print();"></td>
        <td id="rightbg">&nbsp;</td>
    </tr>
    </tbody>
</table>
<hr>
<table width="800px" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="" id="datalist"
       class="datalist">
    <tbody>
    <tr align="right">
        <td colspan="4">凭条编号：${param.no}</td>
    </tr>
    <c:forEach items="${Detail}" var="wm">
        <tr>
            <td align="center">公司名称</td>
            <td align="center">物品名称</td>
            <td align="center">规格</td>
            <td align="center">拉走数量</td>
        </tr>
        <tr>
            <td align="center">${wm.h_area}
            </td>
            <td align="center">${wm.h_name}
            </td>
            <td align="center">${wm.h_size}
            </td>
            <td align="center">${wm.h_send}
            </td>
        </tr>
        <tr>
            <td align="center">拉走时间</td>
            <td align="center">回收数量</td>
            <td align="center">工序</td>
            <td align="center">回收时间</td>
        </tr>
        <tr>
            <td align="center">${wm.h_sendtime}</td>
            <td align="center">${wm.h_receipt}</td>
            <td align="center">${wm.gx}</td>
            <td align="center">${wm.h_receipttime}</td>
        </tr>
        <tr>
            <td align="center">结余</td>
            <td align="center" colspan="3"></td>
        </tr>
        <tr>
            <td align="center">${wm.h_send-wm.h_receipt}</td>
            <td align="center" colspan="3"></td>
        </tr>
        <tr><td colspan="4" height="20"><hr></td></tr>
    </c:forEach>
    </tbody>
</table>

<div align="center">
    拉(送)货人签字： &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    仓库管理员签字： &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    财务签字： &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
</body>
</html>